<template>
  <h1>Pro</h1>
  <p>Example of using Vike.</p>
  <p>{{ctx.data.name}}</p>
  <p>{{counter.count}}</p>
  <Button type="primary" @click="counter.increment">Primary Button</Button>
</template>
<script lang="ts" setup>
import { usePageContext } from 'vike-vue/usePageContext'
import { useCounterStore } from '@/stores/useCounterStore'
import { Button } from 'ant-design-vue'
const ctx = usePageContext()
const counter = useCounterStore()
console.log(ctx)
</script>
